package com.deepexp.equip;

import com.deepexp.equip.entity.EquipResponse;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;

import org.json.JSONArray;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Streaming;

/**
 * Created by Administrator on 2017/7/3.
 */

public interface ParkService {

    @Headers({"Content-Type: application/json", "Accept: application/json"})
    @GET("equip")
    @Streaming
    Call<JsonArray> getPin();

    @GET("addmore")
    @Streaming
    Call<JsonObject> AddMore();

    @GET("auth")
    @Streaming
    Call<JsonObject> getAuth();

    @GET("addMoney")
    @Streaming
    Call<JsonObject> addMoney();
}
